package com.longshihan.carservice.service.user;

import com.longshihan.carservice.model.UserDomain;
import org.apache.ibatis.annotations.Param;

public interface UserService {

    int updateUserInfo(UserDomain user);


    UserDomain getUserInfoById(Integer uId);


    UserDomain getUserInfoByWeChatId(String wechatId);


    UserDomain getUserInfoByCond(String username, String password);

    void registerUserDomain(String username,String password);

    int registerUserDomainByWechat(String wechatId,String name);
}
